package signalx

import (
	"os"
	"os/signal"
	"syscall"
)

func WaitUntilSignaled() {
	sigChan := make(chan os.Signal, 10)
	signal.Notify(sigChan, syscall.SIGKILL, syscall.SIGTERM, syscall.SIGHUP)
	select {
	case <-sigChan:
		break
	}
}
